
#ifndef _MEM68K_H_
#define _MEM68K_H_

/* Function prototypes */
unsigned int mem68k_read_bus_8(unsigned int address);
unsigned int mem68k_read_bus_16(unsigned int address);
void mem68k_unused_w(unsigned int address, unsigned int value);

void mem68k_lockup_w_8(unsigned int address, unsigned int value);
void mem68k_lockup_w_16(unsigned int address, unsigned int value);
unsigned int mem68k_lockup_r_8(unsigned int address);
unsigned int mem68k_lockup_r_16(unsigned int address);

unsigned int mem68k_read_io_8(unsigned int address);
unsigned int mem68k_read_io_16(unsigned int address);
void mem68k_write_io_8(unsigned int address, unsigned int value);
void mem68k_write_io_16(unsigned int address, unsigned int value);
unsigned int mem68k_read_vdp_8(unsigned int address);
unsigned int mem68k_read_vdp_16(unsigned int address);
void mem68k_write_vdp_8(unsigned int address, unsigned int value);
void mem68k_write_vdp_16(unsigned int address, unsigned int value);

unsigned int FASTCALL m68k_read_memory_8(unsigned int address);
unsigned int FASTCALL m68k_read_memory_16(unsigned int address);
void FASTCALL m68k_write_memory_8(unsigned int address, unsigned int value);
void FASTCALL m68k_write_memory_16(unsigned int address, unsigned int value);

#endif /* _MEM68K_H_ */
